<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%String contextRoot = request.getContextPath();%>
<f:loadBundle basename="properties.messages" var="msg" />
<f:view>
<!doctype html>
<html>
<head>
	<%@ include file="include/meta.jsp" %>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<title>SISDEP : Sistema de Informaci<h:outputText value="#{msg.tilde_o}" />n de Espacio P<h:outputText value="#{msg.tilde_u}" />blico</title>
	<meta name="description" content="">
	<meta name="author" content="">
	<link rel="stylesheet" href="<%=contextRoot%>/css/validationEngine.jquery.css" type="text/css">
	<link rel="stylesheet" href="<%=contextRoot%>/css/template.css" type="text/css">
	<link rel="stylesheet" href="<%=contextRoot%>/css/normalize.css">
	<link rel="stylesheet" href="<%=contextRoot%>/css/uniform.css">
	<link rel="stylesheet" href="<%=contextRoot%>/css/tipsy.css">
	<link rel="stylesheet" href="<%=contextRoot%>/css/cuerpo.css">	
	<link rel="stylesheet" href="<%=contextRoot%>/css/richCustom.css">
</head>
<body>
<div id="marco"> <!--inicio contenedor --> 
<div class="arriba-cuerpo"></div> <!-- Burrada pa ver borde redondo en IE -->
<div class="cuerpo">
<a href="<%=contextRoot%>/index.jsf"><img src="<%= contextRoot %>/images/logos.png" /></a>
<div class="clear"></div>
	<%@ include file="include/menuUsuario.jsp" %>
<div class="clear"></div>
<div id="buscador">
<h2>Gesti<h:outputText value="#{msg.tilde_o}" />n de Concepto Inicial: <h:outputText value="#{conceptoInicialController.conceptoInicial.id ne '' ? 'EDICION' : 'NUEVO'}" /></h2>
<h:form id="updateConceptoInicialForm">
	<h:inputHidden id="idSolicitud" value="#{conceptoInicialController.conceptoInicial.idSolicitud}" />
		<p><em class="left">S<h:outputText value="#{msg.tilde_i}" /> el comerciante a incurrido en alguna situaci<h:outputText value="#{msg.tilde_o}" />n determinada como una contravención por favor seleccionela del listado</em><br/></p>
		<div class="clear" style="margin-left: 400px;"></div>
		<span class="left" style="margin-left: 0px;">
			<label>Contravenci<h:outputText value="#{msg.tilde_o}" />n </label>
				<h:selectOneMenu id="idContravencionStr" styleClass=""
						value="#{conceptoInicialController.conceptoInicial.idContravencionStr}">
                    <f:selectItem itemLabel="Seleccione..." itemValue="0"/>
                    <f:selectItems value="#{masterListCache.infringementList}"/>
               	</h:selectOneMenu>									
		</span>
		<div class="clear" style="width:400px;"></div>
		<span class="left" style="margin-left:0px;">
			<label>Descripci<h:outputText value="#{msg.tilde_o}" />n <span class="asterisco">*</span></label>
				<h:inputTextarea id="descripcion" cols="90" rows="3" styleClass="validate[required,maxSize[255]]"
							style="width:300px !important; min-width:300px !important; max-width:300px !important; height:60px !important; min-height:60px !important; max-height:60px !important; "
										value="#{conceptoInicialController.conceptoInicial.descripcion}" />
		</span>
		<div class="clear" style="width:400px;"></div>
		<span class="left" style="margin-left:0px;">
			<label>Observaci<h:outputText value="#{msg.tilde_o}" />n <span class="asterisco">*</span></label>
				<h:inputTextarea id="observacion" cols="90" rows="3" styleClass="validate[required,maxSize[255]]"
							style="width:300px !important; min-width:300px !important; max-width:300px !important; height:60px !important; min-height:60px !important; max-height:60px !important; "
										value="#{conceptoInicialController.conceptoInicial.observacion}" />						
		</span>
		<div class="clear" style="width:400px;"></div>
		<span class="left" style="margin-left:0px;">
			<label>Estado <span class="asterisco">*</span></label>
				<h:selectOneMenu id="estado" styleClass="validate[required]"
					value="#{conceptoInicialController.conceptoInicial.estado}">
                    	<f:selectItem itemLabel="Seleccione..." itemValue=""/>
                        <f:selectItem itemLabel="Nuevo" itemValue="NUEVO"/>
                        <f:selectItem itemLabel="Validado" itemValue="VALIDADO"/>
                </h:selectOneMenu>
		</span>				
		<br/>
		<br/>
		<br/>
		<div class="clear"></div>
		<div class="clear"></div>
		(<span class="asterisco"> * </span>) : Campo Obligatorio
		<div class="clear"></div>
		<span class="botones right">
		<h:commandButton id="updateConceptoInicialButton"						 
		                 type="submit"
		                 rendered="true"
		                 value="Guardar" 
		                 ondblclick="return false;" 
		                 action="#{conceptoInicialController.update}" >
		</h:commandButton>
		</span>
</h:form>
</div>
<div class="clear"></div>
	<div class="clear" style="width: 400px; margin-left: 0px;"></div>
	<br/>
	<span class="botones left" style="width: 223px; height: 20px; margin-left:5px; padding-top:5px; padding-bottom:5px; padding-left:20px; padding-right:20px; background-color: #006F73; color: white;">
	Informaci<h:outputText value="#{msg.tilde_o}" />n de Auditor<h:outputText value="#{msg.tilde_i}" />a
	</span>
	<div class="clear" style="margin-left: 400px;"></div>
	<div>
		<span class="left" >
		<span class="left" style="width: 110px; height: 20px; margin-left:5px; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; background-color: #EDEDED; border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-left: 1px solid #999999; border-right: 1px solid #999999; color: #666666;">Usuario Creaci<h:outputText value="#{msg.tilde_o}" />n</span>
		<span class="left" style="width: 110px; height: 20px; margin-left:0px; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; background-color: #EDEDED; border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-left: 0px solid #999999; border-right: 1px solid #999999; color: #666666;">Fecha Creaci<h:outputText value="#{msg.tilde_o}" />n</span>
		<span class="left" style="width: 170px; height: 20px; margin-left:0px; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; background-color: #EDEDED; border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-left: 0px solid #999999; border-right: 1px solid #999999; color: #666666;">Usuario <h:outputText value="#{msg.tilde_u}" />ltima Modificaci<h:outputText value="#{msg.tilde_o}" />n</span>
		<span class="left" style="width: 170px; height: 20px; margin-left:0px; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; background-color: #EDEDED; border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-left: 0px solid #999999; border-right: 1px solid #999999; color: #666666;">Fecha <h:outputText value="#{msg.tilde_u}" />ltima Modificaci<h:outputText value="#{msg.tilde_o}" />n</span>
		</span>		
		<span class="left" >
		<span class="left" style="width: 110px; height: 20px; margin-left:5px; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; background-color: #ffffff; border-top: 0px solid #999999; border-bottom: 1px solid #999999; border-left: 1px solid #999999; border-right: 1px solid #999999; color: #666666;"><h:outputText value="#{conceptoInicialController.conceptoInicial.usuarioCrea}" /></span>
		<span class="left" style="width: 110px; height: 20px; margin-left:0px; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; background-color: #ffffff; border-top: 0px solid #999999; border-bottom: 1px solid #999999; border-left: 0px solid #999999; border-right: 1px solid #999999; color: #666666;"><h:outputText value="#{conceptoInicialController.conceptoInicial.fechaCrea}" /></span>
		<span class="left" style="width: 170px; height: 20px; margin-left:0px; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; background-color: #ffffff; border-top: 0px solid #999999; border-bottom: 1px solid #999999; border-left: 0px solid #999999; border-right: 1px solid #999999; color: #666666;"><h:outputText value="#{conceptoInicialController.conceptoInicial.usuarioModifica}" /></span>
		<span class="left" style="width: 170px; height: 20px; margin-left:0px; padding-top:5px; padding-bottom:5px; padding-left:10px; padding-right:10px; background-color: #ffffff; border-top: 0px solid #999999; border-bottom: 1px solid #999999; border-left: 0px solid #999999; border-right: 1px solid #999999; color: #666666;"><h:outputText value="#{conceptoInicialController.conceptoInicial.fechaModifica}" /></span>
		</span>
	</div>
<div class="clear"></div>
</div>
<div class="abajo-cuerpo"></div>
</div>
<div class="footer"></div>
	<script src="<%=contextRoot%>/js/jquery/lib/jquery-1.7.2.min.js"></script>
	<script src="<%=contextRoot%>/js/script.js" type="text/javascript"></script>
	<script src="<%=contextRoot%>/js/jquery/lib/jquery.uniform.min.js"></script> 
	<script src="<%=contextRoot%>/js/jquery/lib/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>
	<script src="<%=contextRoot%>/js/jquery/lib/jquery.validationEngine-es.js" type="text/javascript" charset="utf-8"></script>
    <script src="<%=contextRoot%>/js/jquery/lib/jquery.tipsy.js" type="text/javascript"></script> <!-- Tooltip -->
	<script type="text/javascript">
	jQ(document).ready(function() {
		jQ("input, select, input:checkbox, input:radio, input:file").uniform();
		jQ("#updateConceptoInicialForm").validationEngine('attach');
		jQ("#updateConceptoInicialForm").bind("jqv.form.result", function(event, errorFound) {
	        if(!errorFound) displayLoadingImage();
	    });
	});
	</script>
	<%@ include file="include/validationStatus.jsp" %>
	<%@ include file="include/modalMessageWindow.jsp" %>	
</body>
</html>
</f:view>

